
var adr = document.querySelector(".adr");
var req = new XMLHttpRequest();
req.open("GET","http://liuyujing.com:3389/company");
req.onload=function () {
  // console.log(this.response);
  var url=JSON.parse(this.response);

  for (var i=0;i<url.data.length;i++){
      var c= url.data;
      console.log(c[i].logo);

      }
  var logo = document.querySelector(".logo_container");
    logo.style.cssText="width:300px;height:100px;background:"+c[0].logo;


};
req.send();



